Release 10.1A: OpenEdge Application Server:
Developing AppServer Applications
Using the SERVER-CONNECTION-ID attribute
For more complicated context than you might want to store in the
SERVER-CONNECTION-CONTEXTattribute, you might choose to use a context database. In this case, you can use theSERVER-CONNECTION-IDattribute as a primary key to help you store and retrieve the context for each client connection. A context database is an application database that is connected to and accessible from each AppServer agent on the AppServer.Because the
SERVER-CONNECTION-IDis a globally unique ID, OpenEdge ensures that no two connections on a computer network have the same value. Before a request is executed within an AppServer session, OpenEdge also ensures that theSERVER-CONNECTION-IDis set to the ID for the connection on which the request was received. This value is also available to any Connect procedure, Activate procedure, Deactivate procedure, or Disconnect procedure that you configure for the AppServer.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |